home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Wayzata's Best of Shareware PC/Windows 1
/
Wayzata's Best of Shareware for PC-Windows - Release 1 - Wayzata Technology (1993).iso
/
mac
/
ZIPPED
/
WINDOWS
/
FILEUTIL
/
TLCFND11.ZIP
/
SETUPFND.BAT
< prev
next >
Wrap
DOS Batch File
|
1992-10-30
|
2KB
|
61 lines
@echo off
if "%1"=="" goto useage
if "%2"=="" goto useage
if "%3"=="" goto useage
if exist %1\tlcfind.dll goto srcok
echo Can not find source files
goto done
:srcok
md %2
copy %1\tlcfnd.exe %2
if exist %2\tlcfnd.exe goto ok2
echo Can not write to %2
echo Create the destination directory and try again
goto done
:ok2
if exist c:\windows\vbrun100.dll goto VBrunok
if exist %3\vbrun100.dll goto VBrunok
if exist c:\windows\system\vbrun100.dll goto VBrunok
if exist %1\vbrun100.dll copy %1\vbrun100.dll %3
if exist %3\vbrun100.dll goto VBrunok
echo Your system does not appear to have the Microsoft Basic Run
echo Time library, "VBRun100.DLL".
echo This program will not operate without VBRun100.DLL. It may
echo be optained from Microsoft Bulletin board, Compuserve, or
echo Software Engineering and Fabrication. After you receive this
echo file, copy it to you System directory (probably C:\windows\system).
goto done
:VBRunOk
copy %1\tlcfind.dll %3
if exist %3\tlcfind.dll goto dllok
echo Can not copy to %3
goto done
:dllok
copy %1\tlcfind.hlp %3
copy %1\read-fnd.txt %2
copy %1\reg-fnd.txt %2
echo TlcFnd version 1.1 is now installed
echo Please remember to register this program if you are going to
echo continue to use it.
echo execute file named TLCFnd.exe
goto done
:useage
echo Type
echo SetUpFnd.bat FromPath ToPath SystemPath
echo
echo for example
echo SetUpFnd c:\temp d:\utility c:\windows\system
echo will cause the program to install from the c:\temp directory
echo on to the D: drive using the UTILITY directory
echo the windows system path is C:\WINDOWS\SYSTEM
echo Note: no trailing slash after directory.
:done
pause Please press return to continue